<table>
    <tbody>
    
        <tr class="prop">
            <td  class="name"><g:message code="contract.recordType.label" default="Record Type" /></td>
            <td  class="value"><g:link controller="recordType" action="show" id="${contractInstance?.recordType?.id}">${contractInstance?.recordType?.encodeAsHTML()}</g:link></td>
            <td  class="name"><g:message code="contract.serialNumber.label" default="Contract Number" /></td>
            <td  class="value">${fieldValue(bean: contractInstance, field: "serialNumber")}</td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="contract.department.label" default="Department" /></td>
            <td  class="value"><g:link controller="department" action="show" id="${contractInstance?.dealer?.department?.id}">${contractInstance?.dealer?.department?.encodeAsHTML()}</g:link></td>
            <td  class="name"><g:message code="contract.dealer.label" default="Dealer" /></td>
            <td  class="value"><g:link controller="dealer" action="show" id="${contractInstance?.dealer?.id}">${contractInstance?.dealer?.encodeAsHTML()}</g:link></td>
        </tr>

        <tr class="prop">
            <td  class="name"><g:message code="contract.subject.label" default="Subject" /></td>
            <td  class="value">${fieldValue(bean: contractInstance, field: "subject")}</td>
            <td  class="name"><g:message code="contract.project.label" default="Project" /></td>
            <td  class="value">${fieldValue(bean: contractInstance, field: "project")}</td>
            
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="contract.applicant.label" default="Applicant" /></td>
            <td  class="value">${contractInstance?.applicant?.encodeAsHTML()}</td>
            <td  class="name"><g:message code="contract.filingDate.label" default="Filing Date" /></td>
            <td  class="value"><g:formatDate date="${contractInstance?.filingDate}" /></td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="contract.industry.label" default="Industry" /></td>
            <td  class="value">${fieldValue(bean: contractInstance, field: "industry")}</td>
            <td  class="name"><g:message code="contract.effectiveDate.label" default="Effective Date" /></td>
            <td  class="value">${contractInstance?.effectiveDate?.encodeAsHTML()}</td>
        </tr>
        
        <tr class="prop">
            <td  class="name"><g:message code="contract.description.label" default="Desc" /></td>
            <td  class="value warp" colspan="3">${fieldValue(bean: contractInstance, field: "description")}</td>
        </tr>
    
        <tr class="prop">
            <td  class="name"><g:message code="contract.dateCreated.label" default="Created Date" /></td>
            <td  class="value">${contractInstance?.createdBy?.encodeAsHTML()}, <g:formatDate date="${contractInstance?.dateCreated}" /></td>
            <td  class="name"><g:message code="contract.lastUpdated.label" default="Last Updated" /></td>
            <td  class="value">${contractInstance?.lastModifiedBy?.encodeAsHTML()}, <g:formatDate date="${contractInstance?.lastUpdated}" /></td>
        </tr>
        <tr class="prop">
            <td  class="name"><g:message code="contract.owner.label" default="Owner" /></td>
            <td  class="value">${contractInstance?.owner?.encodeAsHTML()}</td>
            <td  class="name">&nbsp;</td>
            <td  class="value">&nbsp;</td>
        </tr>
    </tbody>
</table>